package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.domain.business.BusinessCountDO;
import com.qk.domain.business.BusinessDO;
import com.qk.domain.business.BusinessPoolDO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessListPoolDTO;
import com.qk.entity.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 李智勇
 * @data 2025/10/15 11:26
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    List<BusinessPoolDO> selectPoolBusiness(BusinessListPoolDTO dto);

    List<BusinessDO> selectByPage(BusinessListDTO dto);

    BusinessCountDO selectCountBusiness();
}